import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    show:false
  },
  getters: {
  },
  mutations: {//改变全局的值
    isShow(state){
      state.show=true
    },
    noShow(state){
      state.show=false
    }
  },
  actions: {
  },
  modules: {
  }
})
